/*
 *         Copyright (c) KUBOTA Corporation and HUDSON SOFT,
 *                  1994, 1995 All Rights Reserved
 *
 *  This software comprises unpublished confidential information of
 *  KUBOTA Corp. and HUDSON SOFT. It may not be used, copied or made 
 *  available to anyone, except in accordance with the license under
 *  which it is furnished.
 */
static char SccsId[] = "@(#)amlvec.c	1.3 9/19/95";
#include <farl.h>
#include <agl.h>

void
AGLDrawLightVector(int ln, short color)
{
     fix1015	lvec[6] = {0,};
     short	vc[2];

     vc[0] = color; vc[1] = color;

     lvec[0] = __AGLLight[ln].lightVector[0];
     lvec[1] = __AGLLight[ln].lightVector[1];
     lvec[2] = __AGLLight[ln].lightVector[2];

     FarlSetTEObjMatrix((unsigned short*)__AGLCamera.camMatrix187);
     FarlSetTENrmMatrix((unsigned short*)__AGLCamera.camMatrix1015);

     FarlPolyLine( FARL_GTYPE_VC, 1, lvec, NULL, vc);
}
